//
//  AppDelegate.h
//  MyNewProject
//
//  Created by sun on 2018/12/2.
//  Copyright © 2018 sun. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface AppDelegate : UIResponder <UIApplicationDelegate>

@property (strong, nonatomic) UIWindow * _Nonnull window;
+(void)pushLoginView;
+(void)pushLoginViewComplete:(void(^)(id))complete;

/// 充值
/// @param noncestr noncestr description
/// @param package package description
/// @param partnerid partnerid description
/// @param prepayid prepayid description
/// @param timestamp timestamp description
/// @param sign sign description
/// @param complete complete description
+ (void)wj_payrequestWithNonceStr:(NSString *_Nonnull)noncestr Package:(NSString *_Nonnull)package Partnerid:(NSString *_Nonnull)partnerid Prepayid:(NSString *_Nonnull)prepayid Timestamp:(NSString *_Nonnull)timestamp Sign:(NSString *_Nonnull)sign Complete:(void(^_Nonnull __strong)(BOOL))complete;

/// 分享
/// @param shareNum 邀请码
/// @param ptNum 产品id
/// @param isSell 拍买 还是 购买
/// @param complete 回调
+ (void)wj_wxShareWith:(NSString *)shareNum PtNum:(NSString *)ptNum SellOrGoodId:(BOOL)isSell Complete:(void(^_Nonnull __strong)(BOOL))complete;

/**
 微信登陆

 @param complete complete description
 */
+ (void)wj_wxLoginComplete:(void(^_Nonnull __strong)(NSDictionary *_Nonnull))complete;
@end

